/**
 * Copyright © 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.flowable.checkPlanTable.service;

import java.util.ArrayList;
import java.util.List;

import com.jeeplus.modules.flowable.checkPlanTable.entity.CheckPlanTable;
import com.jeeplus.modules.flowable.checkPlanTable.mapper.CheckPlanTableMapper;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.jeeplus.core.persistence.Page;
import com.jeeplus.core.service.CrudService;

/**
 * 点检计划Service
 * @author 刘明星
 * @version 2020-11-16
 */
@Service
@Transactional(readOnly = true)
public class CheckPlanTableService extends CrudService<CheckPlanTableMapper, CheckPlanTable> {

	public CheckPlanTable get(String id) {
		return super.get(id);
	}
	
	public List<CheckPlanTable> findList(CheckPlanTable checkPlanTable) {
		return super.findList(checkPlanTable);
	}
	
	public Page<CheckPlanTable> findPage(Page<CheckPlanTable> page, CheckPlanTable checkPlanTable) {
		return super.findPage(page, checkPlanTable);
	}
	
	@Transactional(readOnly = false)
	public void save(CheckPlanTable checkPlanTable) {
		super.save(checkPlanTable);
	}
	
	@Transactional(readOnly = false)
	public void delete(CheckPlanTable checkPlanTable) {
		super.delete(checkPlanTable);
	}

	public List<CheckPlanTable> getcenter(String startData, String endtData){
		return super.mapper.getcenter(startData,endtData);
	}

}